package com.dianping.cat.core.dal;

import java.util.Date;
import org.unidal.dal.jdbc.DataObject;















public class MonthlyReport
  extends DataObject
{
  private int m_id;
  private String m_name;
  private String m_ip;
  private String m_domain;
  private Date m_period;
  private int m_type;
  private Date m_creationDate;
  private int m_keyId;

  public void afterLoad() {
/*  33 */     this.m_keyId = this.m_id;
/*  34 */     clearUsage();
  }


/*  38 */   public Date getCreationDate() { return this.m_creationDate; }



/*  42 */   public String getDomain() { return this.m_domain; }



/*  46 */   public int getId() { return this.m_id; }



/*  50 */   public String getIp() { return this.m_ip; }



/*  54 */   public int getKeyId() { return this.m_keyId; }



/*  58 */   public String getName() { return this.m_name; }



/*  62 */   public Date getPeriod() { return this.m_period; }



/*  66 */   public int getType() { return this.m_type; }


  public MonthlyReport setCreationDate(Date creationDate) {
/*  70 */     setFieldUsed(MonthlyReportEntity.CREATION_DATE, true);
/*  71 */     this.m_creationDate = creationDate;
/*  72 */     return this;
  }

  public MonthlyReport setDomain(String domain) {
/*  76 */     setFieldUsed(MonthlyReportEntity.DOMAIN, true);
/*  77 */     this.m_domain = domain;
    return this;
  }

  public MonthlyReport setId(int id) {
/*  82 */     setFieldUsed(MonthlyReportEntity.ID, true);
/*  83 */     this.m_id = id;

/*  85 */     setFieldUsed(MonthlyReportEntity.KEY_ID, true);
/*  86 */     this.m_keyId = id;
/*  87 */     return this;
  }

  public MonthlyReport setIp(String ip) {
/*  91 */     setFieldUsed(MonthlyReportEntity.IP, true);
/*  92 */     this.m_ip = ip;
/*  93 */     return this;
  }

  public MonthlyReport setKeyId(int keyId) {
/*  97 */     setFieldUsed(MonthlyReportEntity.KEY_ID, true);
/*  98 */     this.m_keyId = keyId;
/*  99 */     return this;
  }

  public MonthlyReport setName(String name) {
/* 103 */     setFieldUsed(MonthlyReportEntity.NAME, true);
/* 104 */     this.m_name = name;
/* 105 */     return this;
  }

  public MonthlyReport setPeriod(Date period) {
/* 109 */     setFieldUsed(MonthlyReportEntity.PERIOD, true);
/* 110 */     this.m_period = period;
/* 111 */     return this;
  }

  public MonthlyReport setType(int type) {
/* 115 */     setFieldUsed(MonthlyReportEntity.TYPE, true);
/* 116 */     this.m_type = type;
/* 117 */     return this;
  }


  public String toString() {
/* 122 */     StringBuilder sb = new StringBuilder(1024);

/* 124 */     sb.append("MonthlyReport[");
/* 125 */     sb.append("creation-date: ").append(this.m_creationDate);
/* 126 */     sb.append(", domain: ").append(this.m_domain);
/* 127 */     sb.append(", id: ").append(this.m_id);
/* 128 */     sb.append(", ip: ").append(this.m_ip);
/* 129 */     sb.append(", key-id: ").append(this.m_keyId);
/* 130 */     sb.append(", name: ").append(this.m_name);
/* 131 */     sb.append(", period: ").append(this.m_period);
/* 132 */     sb.append(", type: ").append(this.m_type);
/* 133 */     sb.append("]");
/* 134 */     return sb.toString();
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/lib/cat-core-3.0.0.jar!/com/dianping/cat/core/dal/MonthlyReport.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */